﻿using Common.Infrastructure;
using System;
using System.Collections.Generic;
using System.Text;

namespace Common.Models.Base
{
    [ModelServiceCode("Base")]
    public class m_department : TreeModelBase
    { 
        public string code { get; set; }
         
        public string name { get; set; }
        public string user_id { get; set; }
        public int enable_status { get; set; }
        public string remark { get; set; }

        [ModelFieldForeignId("user_id")]
        public m_user nav_user { get; set; }
        public bool is_line { get; set; }

        /// <summary>
        /// 等级DepLevelEnum  无 = 0, 线体 = 1,部门 = 3,车间 = 4,
        /// </summary>
        public int level { get; set; }

        /// <summary>
        /// 兼岗负责人
        /// </summary>
        public string alias_user_id { get; set; }
    }
}
